package com.liang.interview.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liang.interview.server.entity.po.InterviewQuestionHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 面试题目记录持久层
 */
public interface InterviewQuestionHistoryMapper extends BaseMapper<InterviewQuestionHistory> {

    /**
     * 批量新增数据（MyBatis原生foreach方法）
     *
     * @param entities List<InterviewQuestionHistory> 实例对象列表
     * @return 影响行数
     */
    int insertBatch(@Param("entities") List<InterviewQuestionHistory> entities);
}




